<style type="text/css">
    .sm-st {
        background: #fff;
        padding: 20px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        margin-bottom: 20px;
        -webkit-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
        box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
    }

    .sm-st-icon {
        width: 60px;
        height: 60px;
        display: inline-block;
        line-height: 60px;
        text-align: center;
        font-size: 30px;
        background: #eee;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        float: left;
        margin-right: 10px;
        color: #fff;
    }
    .sm-st-icon2 {
        width: 40px;
        height: 40px;
        display: inline-block;
        line-height: 40px;
        text-align: center;
        font-size: 30px;
        background: #eee;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        float: left;
        margin-right: 10px;
        color: #fff;
    }

    .sm-st-info {
        font-size: 12px;
        padding-top: 2px;
    }

    .sm-st-info span {
        display: block;
        font-size: 24px;
        font-weight: 600;
    }

    .orange {
        background: #fa8564 !important;
    }

    .tar {
        background: #45cf95 !important;
    }

    .sm-st .green {
        background: #86ba41 !important;
    }
    .sm-st .green2 {
        background: green !important;
    }


    .pink {
        background: #AC75F0 !important;
    }

    .yellow-b {
        background: #fdd752 !important;
    }

    .stat-elem {

        background-color: #fff;
        padding: 18px;
        border-radius: 40px;

    }

    .stat-info {
        text-align: center;
        background-color: #fff;
        border-radius: 5px;
        margin-top: -5px;
        padding: 8px;
        -webkit-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
        box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
        font-style: italic;
    }

    .stat-icon {
        text-align: center;
        margin-bottom: 5px;
    }

    .st-red {
        background-color: #F05050;
    }
    .st-deposit {
        background-color: #3a0435b8;
    }


    .st-green {
        background-color: #27C24C;
    }

    .st-violet {
        background-color: #7266ba;
    }
    .st-hidden {
        background-color: #2b2727;
    }

    .st-yellow {
        background-color: #ff8d00;
    }
    .st-orige {
        background-color: #9a08f5;
    }


    .st-blue {
        background-color: #23b7e5;
    }

    .stats .stat-icon {
        color: #28bb9c;
        display: inline-block;
        font-size: 26px;
        text-align: center;
        vertical-align: middle;
        width: 50px;
        float: left;
    }

    .stat {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
        margin-right: 10px;
    }

    .stat .value {
        font-size: 20px;
        line-height: 24px;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: 500;
    }

    .stat .name {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .stat.lg .value {
        font-size: 26px;
        line-height: 28px;
    }

    .stat.lg .name {
        font-size: 16px;
    }

    .stat-col .progress {
        height: 2px;
    }

    .stat-col .progress-bar {
        line-height: 2px;
        height: 2px;
    }

    .item {
        padding: 30px 0;
    }

    #onediy{
        width: 100%;
        display: block;
    }
    #onediy .layui-form-checkbox{
        height: 38px;
        line-height: 38px;
        width: 88px;
        margin:4px 10px 4px 10px
    }
    #onediy .layui-form-checkbox i{
        height: 38px;
    }
    #onediy .layui-form-checkbox span{
        padding: 0 15px;
    }

    #onediy .layui-input-block{
        margin-left: 0px;
    }

    
    #myTabContent{
        clear: both;
    }

    .form_datetime{
        height: 36px;
    }
    .datetimepicker{
        width: 250px !important;
        height: 36px;
    }
    .input-group-addon{
        background: #FBFBFB !important;
    }
    .incomediv{
        cursor: pointer;
    }

    i{
        font-style: normal;
        line-height: 20px;
        font-weight: 600;
    }


</style>
<div class="panel panel-default panel-intro">
    <div class="panel-heading">
        <ul class="nav nav-tabs">
            <li class="active"><a href="#one" data-toggle="tab">账单统计</a></li>
            <button class="btn btn-default btn-refresh" style="float: right;">刷新</button>
        </ul>
    </div>
    <div class="panel-body">


        <div class="tab-pane fade active in diyform" id="onediy">
            <div class="header" >
                <form class="layui-form layui-form-pane" action="">

                    <div class="layui-form-item col-sm-4" pane="" id="seldiv" style="display: block;width: 300px;margin-right: 50px;">
                        <label class="layui-form-label" style="width: 40%;border: none;padding-right:20px">切换酒店</label>
                        <div class="layui-input-block" style="width: 200px;top:-1px;height: 36px;margin-left: 39%">
                            <select id="sel" lay-filter="selecthotel"  name="hotelslist" lay-verify="required"  lay-search></select>

                        </div>
                    </div>
                    <div class="form-group col-lg-3">
                        <div class="input-group form_datetime">
                            <span class="input-group-addon">开始时间:</span>
                            <input id="starttime" class="form-control datetimepicker"
                                   data-date-format="YYYY-MM-DD"
                                   type="text"
                                   name="collecttime"
                                   placeholder="请选择开始时间">
                        </div>
                    </div>

                    <div class="form-group col-lg-3">
                        <div class="input-group form_datetime">
                            <span class="input-group-addon">结束时间:</span>
                            <input id="endtime" class="form-control datetimepicker"
                                   data-date-format="YYYY-MM-DD"
                                   type="text"
                                   name="collecttime"
                                   placeholder="请选择结束时间">
                        </div>
                    </div>

                    <div class="form-group col-lg-3">
                        <label class="control-label col-xs-12 col-sm-2"></label>
                        <div class="col-xs-12 col-sm-8">
                            <span  class="btn btn-success btn-search">搜索</span>
                        </div>
                    </div>




                </form>
            </div>
        </div>


        <div id="myTabContent" class="tab-content">


            <div class="tab-pane fade active in" id="one">
                {if $adminId == 1}
                    <div class="row">
                        <!--统计明细-->
                        <div class="col-sm-3 col-xs-6" type="1" ids="">
                            <div class="sm-st clearfix">
                                <span class="sm-st-icon st-green"><i class="fa fa-cny"></i></span>
                                <div class="sm-st-info">
                                    <span class="all_income">0</span>
                                    总收入【现金、充值、小时卡】
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-2 col-xs-6" type="3" ids="">
                            <div class="sm-st clearfix">
                                <span class="sm-st-icon st-green"><i class="fa fa-cny"></i></span>
                                <div class="sm-st-info">
                                    <span id="xianjin">0</span>
                                    现金
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-2 col-xs-6" type="4" ids="">
                            <div class="sm-st clearfix">
                                <span class="sm-st-icon st-green"><i class="fa fa-cny"></i></span>
                                <div class="sm-st-info">
                                    <span id="cz_income">0</span>
                                    充值
                                </div>
                            </div>
                        </div>

                        <div class="col-sm-2 col-xs-6" type="2" ids="">
                            <div class="sm-st clearfix">
                                <span class="sm-st-icon st-green"><i class="fa fa-cny"></i></span>
                                <div class="sm-st-info">
                                    <span id="card_imcome">0</span>
                                    小时卡
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-2 col-xs-6" type="2" ids="">
                            <div class="sm-st clearfix">
                                <span class="sm-st-icon st-red"><i class="fa fa-cny"></i></span>
                                <div class="sm-st-info">
                                    <span class="tk_imcome">0</span>
                                    退款
                                </div>
                            </div>
                        </div>


                        <div class="col-sm-12 col-xs-6" style="padding-left: 20px;font-weight: bolder">资金明细【消费记录】</div>
                        <div class="col-sm-3 col-xs-6">
                            <div class="sm-st clearfix">
                                <span class="sm-st-icon st-blue"><i class="fa fa-cny"></i></span>
                                <div class="sm-st-info incomediv wx_income_ids" type="2" ids="">
                                    <span id="wx_income_sum">0</span>
                                    现金【查看明细】
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-2 col-xs-6">
                            <div class="sm-st clearfix">
                                <span class="sm-st-icon st-blue"><i class="fa fa-cny"></i></span>
                                <div class="sm-st-info incomediv" id="cz_income_ids" type="3" ids="">
                                    <span id="cz_income_sum">0</span>
                                    充值【查看明细】
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-2 col-xs-6">
                            <div class="sm-st clearfix">
                                <span class="sm-st-icon st-blue"><i class="fa fa-cny"></i></span>
                                <div class="sm-st-info incomediv" id="xsk_income_ids" type="4" ids="">
                                    <span id="xsk_income_sum">0</span>
                                    小时卡【查看明细】
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-2 col-xs-6">
                            <div class="sm-st clearfix">
                                <span class="sm-st-icon st-blue"><i class="fa fa-cny"></i></span>
                                <div class="sm-st-info incomediv tk_income_ids" type="5" ids="">
                                    <span class="tk_imcome">0</span>
                                    退款【查看明细】
                                </div>
                            </div>
                        </div>
                    </div>
                {else /}
                <!--商家后台-->
                    <div class="row">
                        <div class="col-sm-3 col-xs-6">
                            <div class="sm-st clearfix">
                                <span class="sm-st-icon st-green"><i class="fa fa-cny"></i></span>
                                <div class="sm-st-info">
                                    <span class="all_income">0</span>
                                    【实收】总收入【现金、余额】
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-3 col-xs-6">
                            <div class="sm-st clearfix">
                                <span class="sm-st-icon st-green"><i class="fa fa-cny"></i></span>
                                <div class="sm-st-info">
                                    <span class="shop_all_income">0</span>
                                    【应收】总收入【平台收取提成10%】
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-2 col-xs-6">
                            <div class="sm-st clearfix">
                                <span class="sm-st-icon st-green"><i class="fa fa-h-square fa-fw"></i></span>
                                <div class="sm-st-info">
                                    <span class="shop_hour">0</span>
                                    小时卡/小时
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-2 col-xs-6">
                            <div class="sm-st clearfix">
                                <span class="sm-st-icon st-red"><i class="fa fa-cny"></i></span>
                                <div class="sm-st-info">
                                    <span class="tk_imcome">0</span>
                                    退款
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-12 col-xs-6" style="padding-left: 20px;font-weight: bolder">资金明细</div>
                        <div class="col-sm-3 col-xs-6">
                            <div class="sm-st clearfix">
                                <span class="sm-st-icon st-blue"><i class="fa fa-cny"></i></span>
                                <div class="sm-st-info incomediv wx_income_ids" type="10" ids="">
                                    <span class="all_income">0</span>
                                    现金、余额【查看明细】
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-2 col-xs-6">
                            <div class="sm-st clearfix">
                                <span class="sm-st-icon st-blue"><i class="fa fa-h-square fa-fw"></i></span>
                                <div class="sm-st-info incomediv shop_hour_list" type="11" ids="">
                                    <span class="shop_hour">0</span>
                                    小时卡/小时【查看明细】
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-2 col-xs-6">
                            <div class="sm-st clearfix">
                                <span class="sm-st-icon st-blue"><i class="fa fa-cny"></i></span>
                                <div class="sm-st-info incomediv tk_income_ids" type="12" ids="">
                                    <span class="tk_imcome">0</span>
                                    退款【查看明细】
                                </div>
                            </div>
                        </div>
                    </div>
                {/if}
            </div>
        </div>
    </div>
</div>


